package com.luych.toolbox.automation.service.dao;

import com.luych.toolbox.automation.service.entity.AutoTaskTemplateNodeStdout;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AutoTaskTemplateNodeStdoutDao extends JpaRepository<AutoTaskTemplateNodeStdout, String>, JpaSpecificationExecutor<AutoTaskTemplateNodeStdout> {

    List<AutoTaskTemplateNodeStdout> findByAutoTaskTemplateNodeId(String autoTaskTemplateNodeId);

    void deleteByAutoTaskTemplateNodeId(String autoTaskTemplateNodeId);

}